package com.cw.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * 集管床位计算列表
 * @author: ly
 * @date: 2021/06/04 10:46
 **/
@Getter
@Setter
@ApiModel(value = "集管床位计算列表")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@HeadRowHeight(20)
@ContentRowHeight(15)
public class ManageBedCalculationDTO {

    @ApiModelProperty("院区")
    @ColumnWidth(6)
    @ExcelProperty(value = {"院区"}, index = 0)
    private String yard;

    @ApiModelProperty("性质")
    @ColumnWidth(6)
    @ExcelProperty(value = {"性质"}, index = 1)
    private String nature;

    @ApiModelProperty("月份")
    @ColumnWidth(6)
    @ExcelProperty(value = {"月份"}, index = 2)
    private String month;

    @ApiModelProperty("区间")
    @ColumnWidth(8)
    @ExcelProperty(value = {"区间"}, index = 3)
    private String section;

    @ApiModelProperty("科室名称")
    @ColumnWidth(20)
    @ExcelProperty(value = {"科室名称"}, index = 4)
    private String deptName;

    @ApiModelProperty("科室代码")
    @ColumnWidth(8)
    @ExcelProperty(value = {"科室代码"}, index = 5)
    private String deptCode;

    @ApiModelProperty("病区代码")
    @ColumnWidth(8)
    @ExcelProperty(value = {"病区代码"}, index = 6)
    private String nurseCellCode;

    @ApiModelProperty("病区名称")
    @ColumnWidth(20)
    @ExcelProperty(value = {"病区名称"}, index = 7)
    private String nurseCellName;

    @ApiModelProperty("空床数")
    @ColumnWidth(9)
    @ExcelProperty(value = {"空床数"}, index = 8)
    private Double freeBeds;


    @ApiModelProperty("病床总数")
    @ColumnWidth(10)
    @ExcelProperty(value = {"病床总数"}, index = 9)
    private Double bedTotal;

    @ApiModelProperty("平均空床数")
    @ColumnWidth(9)
    @ExcelProperty(value = {"平均空床数"}, index = 10)
    private Double avgEmptyBed;


    @ApiModelProperty("平均空床数*1.2的结果")
    @ColumnWidth(10)
    @ExcelProperty(value = {"平均空床数*1.2的结果"}, index = 11)
    private Double avgEmptyBedMultiply;

    @ApiModelProperty("集管空床数")
    @ColumnWidth(8)
    @ExcelProperty(value = {"集管空床数"}, index = 12)
    private Double manageBedCount;
}
